home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / win / vb / sqlgrid.exe / SSGRID.DOC < prev    next >
Encoding:
Text File  |  1992-02-21  |  3.1 KB  |  63 lines

  1.    The uploaded ZIP file represents an attempt to combine the power of 
  2. the VBSQL SQL Server add-on from Microsoft and the GRID control elsewhere
  3. on the CompuServe VB forum. The app allows a user to select a table from
  4. a database/user/table browser format and select a subset of columns 
  5. for query. The user can then construct a WHERE clause, an ORDER BY and
  6. perform BUFFERed queries of the result set.
  7.  
  8.    You will notice several Command-buttons and menu items which are 
  9. present but either not functional or not enabled. That is because this 
  10. is an early version after some 20 hours of effort. Much remains to be done.
  11. But it is a versatile query tool which has the seeds for reward.
  12.    
  13.    The included stored procedures (file SYSPROCS.SQL) should be installed 
  14. by doing the CREATE PROCEDURE in the master database so that they are
  15. universally available. Otherwise, if a different LOGIN-ID or database
  16. is used at app start-up, the procedures are not found. Also, changing a 
  17. database would produce the same result. 
  18.  
  19.    Also, after installation, for each procedure you must 
  20.         GRANT EXECUTE ON <sp-name> TO PUBLIC 
  21. (where <sp-name> is each stored procedure in turn) to make them 
  22. generally accessible. The prefix 'sp_' must also be retained when the
  23. stored procedures are created.
  24.  
  25. REQUIREMENTS:
  26.    The program was, of course, developed with VB 1.0, on a 3COM network
  27. running with 1.6 Enhanced Workstation drivers. The machine is a Memorex
  28. Telex 386/20 running over MS-DOS 5.0 and Windows 3.0 (for the most part).
  29. Also included are several system procedures used to implement the SQL
  30. 'browse' of database objects. These have been tested with SQL Server 1.1, 
  31. though I am comfortable they are compatible with possible future versions
  32. of SQL Server.
  33.  
  34.    For run-time, the program also requires MicroHelp's VBTOOLS run-time 
  35. VBX, the CTLHWND.DLL and the GRID.ZIP, both contributed by Jonathan Zuck
  36. and User Friendly, Inc., and available elsewhere on this forum. All are
  37. products well-recommended and to be grateful for. The design-time versions
  38. will enable you to load the forms without error and query the control 
  39. properties.
  40.  
  41.    Also required is the Microsoft VBSQL.VBX, a very versatile SQL Server
  42. add-on which has a very rich implementation of the DB-LIBRARY API. 
  43. Unfortunately, I know of no seperate way to include the VBX solely as a 
  44. run-time, so you must have it (and SQL Server, needless to say), in order
  45. to use this app. 
  46.  
  47.    This app is offered to the public domain AS IS an without warranty,
  48. either express or implied, in the hope of encouraging the use of SQL Server
  49. and of providing a starting point for use of VB, the grid and SQL Server.
  50. Feedback/enhancements are encouraged.
  51.  
  52.    Future development of this specific version of the app and the upload
  53. thereof will be at the discretion of the company for which I work. I have
  54. gotten a sign-off on this and hope to contribute in the future.
  55.  
  56.                                                 Bob Hyland
  57.                                                 Gilbert/Commonwealth, Inc.
  58.                                                 Reading PA
  59.  
  60.   
  61.  
  62.  
  63.